/**
 * Copyright (c) 2014-2015, Suredy technology Co., Ltd. All rights reserved.
 * @author ZhangMaoren 
 * @since 2015年4月14日
 * @version 0.1
 */
package com.suredy.config.service;

import java.util.List;

import org.springframework.stereotype.Service;

import com.suredy.config.model.ESeal;
import com.suredy.core.service.BaseSrvWithEntity;


/**
 * @author ZhangMaoren
 *
 */
@Service
public class ESealSrv extends BaseSrvWithEntity<ESeal>{
	public List<ESeal> getAll() {
		return this.readByEntity(null);
	}
	
	public ESeal get(String id) {
		return super.get(id);
	}

	public void add(ESeal eSeal) {
		this.saveOrUpdate(eSeal);
	}
	
	public void update(ESeal eSeal) {
		this.update(eSeal);
	}
	
	public void remove(ESeal eSeal) {
		this.delete(eSeal);
	}
}
